from django.conf.urls.defaults import *
import models

feeds = dict((g.name, g.get_feed()) for g in models.NewsGroup.objects.all())

urlpatterns = patterns('',
    url(r'^(?P<url>.*)\.xml$', 'django.contrib.syndication.views.feed',
        {'feed_dict': feeds}, name="rss_news"),
)
